Skip to content

feat: Warn on insecure tool invocation with authentication #223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 13, 2025

Conversation

anubhav756
Copy link
Contributor

This change introduces a warning that is displayed immediately before a tool invocation if:

  1. The invocation includes an authentication header.
  2. The connection is being made over non-secure HTTP.

Important

The purpose of this warning is to alert the user to the security risk of sending credentials over an unencrypted channel and to encourage the use of HTTPS.

@anubhav756 anubhav756 self-assigned this May 6, 2025
@anubhav756 anubhav756 requested a review from a team as a code owner May 6, 2025 12:11
@anubhav756 anubhav756 force-pushed the anubhav-tool-unused-auth branch from 4405195 to 3232752 Compare May 12, 2025 14:12
@anubhav756 anubhav756 force-pushed the anubhav-http-warn branch from 83c6763 to 691adfb Compare May 12, 2025 14:13
@anubhav756 anubhav756 force-pushed the anubhav-tool-unused-auth branch from 3232752 to 88175d7 Compare May 13, 2025 09:50
Base automatically changed from anubhav-tool-unused-auth to main May 13, 2025 09:53
This change introduces a warning that is displayed immediately before a tool invocation if:
1. The invocation includes an authentication header.
2. The connection is being made over non-secure HTTP.

> [!IMPORTANT]
The purpose of this warning is to alert the user to the security risk of sending credentials over an unencrypted channel and to encourage the use of HTTPS.
@anubhav756 anubhav756 requested a review from kurtisvg May 13, 2025 10:03
@anubhav756 anubhav756 force-pushed the anubhav-http-warn branch from 691adfb to 0f45b69 Compare May 13, 2025 10:04
@anubhav756 anubhav756 merged commit d331e3c into main May 13, 2025
19 checks passed
@anubhav756 anubhav756 deleted the anubhav-http-warn branch May 13, 2025 14:45
@release-please release-please bot mentioned this pull request May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants